# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xprop
pkgver=1.2.6
pkgrel=0
pkgdesc="Property displayer for X"
url="https://cgit.freedesktop.org/xorg/app/xprop"
arch="all"
license="MIT"
makedepends="libx11-dev util-macros"
subpackages="$pkgname-doc"
source="https://www.x.org/archive/individual/app/xprop-$pkgver.tar.xz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
ab25d4b8bf9de8fb37149060ad4870ffed4d6846ac3b31903a42c36301fcb0d50d3ba15949fdd9079507db97d3f05d4bbd11711d825e5470482cc30772cc3f25  xprop-1.2.6.tar.xz
"
